package com.itheima.dao;

import com.itheima.domain.Member;
import org.apache.ibatis.annotations.Select;

/**
 * 会员操作类
 */
public interface IMemberDao {

    /**
     * 根据会员号 查询会员信息
     * @param id
     * @return
     * @throws Exception
     */
    @Select("select * from member where id=#{id}")
    public Member findMemberById(String id)throws  Exception;
}
